package com.hdoit.apollo.logical.shop.service;

import com.tennetcn.data.dao.base.ISuperService;
import com.tennetcn.data.message.PagerModel;

import java.util.List;

import com.hdoit.apollo.logical.shop.model.Payment;
import com.hdoit.apollo.logical.viewmodel.shop.PaymentSearch;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年05月04日 15:05:52
 * @comment
 */
public interface IPaymentService extends ISuperService<Payment>{

	public boolean applyPayment(List<Payment> payments,String customerId);

	public Payment queryModelById(String paymentId);
	
	public boolean applyPaymentAndBilling(Payment payment);


	public List<Payment> queryListMPForPurchase(PaymentSearch search,PagerModel pagerModel);

	public int queryCountMPForPurchase(PaymentSearch search);

	public List<Payment> queryAccountDetail(PaymentSearch search);

}